#HTML <ul>
The <ul> HTML element represents an unordered list of items, typically rendered as a bulleted list.
#Attributes
-
compact
Deprecated : This Boolean attribute hints that the list should be rendered in a compact style. The interpretation of this attribute depends on the user agent, and it doesn't work in all browsers.Warning: Do not use this attribute, as it has been deprecated: use CSS instead. To give a similar effect as the
compact
attribute, the CSS propertyline-height
can be used with a value of80%
. -
type
Deprecated : This attribute sets the bullet style for the list. The values defined under HTML3.2 and the transitional version of HTML 4.0/4.01 are:circle
disc
square
A fourth bullet type has been defined in the WebTV interface, but not all browsers support it:
triangle
.If not present and if no CSS
list-style-type
property applies to the element, the user agent selects a bullet type depending on the nesting level of the list.Warning: Do not use this attribute, as it has been deprecated; use the CSS
list-style-type
property instead.